var arr=[1,2,3,4];
console.log(arr.join("-"))
console.log(typeof arr.join("-"));;
console.log(arr);
var str=arr.toString();
console.log(str);
console.log(typeof str);
